import request from '@/utils/request'

const tokens = 'admin-token'

//获取token
export function getToken() {
  return localStorage.getItem(tokens);
};
//设置token
export function setToken(token) {
  return localStorage.setItem(tokens, token);
};
//删除token
export function removeToken() {
  return localStorage.removeItem(tokens);
};
